package cn.com.utt.unms.service;

import java.util.List;
import org.springframework.stereotype.Service;
import cn.com.utt.common.vo.RestResult;
import cn.com.utt.common.vo.TableInput;
import cn.com.utt.common.vo.TableOutput;
import cn.com.utt.common.vo.User;
import cn.com.utt.unms.pojo.Wireless;
import cn.com.utt.unms.vo.WirelessInfo;
import cn.com.utt.unms.vo.WirelessInfoInput;

@Service
public interface WirelessService {

	TableOutput<WirelessInfo> queryByCondition(TableInput input, long userId);

	List<Wireless> queryWirelessesByNetwork(long networkId);

	List<Wireless> queryByUser(long userId);

	RestResult saveOrUpdate(WirelessInfoInput config, User user);

	RestResult delete(List<Long> wirelessIds, long userId);

	boolean hasRight(Wireless wireless, long userId);

	boolean hasRights(List<Wireless> wirelesses, long userId);

}
